
# offline
# ips="172.21.39.1  172.21.39.2  172.21.39.3  172.21.39.4  172.21.39.5  172.21.39.6  172.21.39.8  172.21.39.10  172.21.39.12  172.21.39.14" 

# # realtime
# ips="172.21.34.88  172.21.34.44  172.21.34.178  172.21.34.20  172.21.34.40  172.21.34.60  172.21.34.115  172.21.34.24  172.21.34.73  172.21.34.143"

# # online
# ips="172.21.34.192  172.21.34.159  172.21.34.126  172.21.34.82  172.21.34.199  172.21.34.98  172.21.34.59  172.21.34.180  172.21.34.166  172.21.34.105"


# offline
ips="172.21.39.1 172.21.39.2 172.21.39.3 172.21.39.4"

# realtime
# ips="172.21.34.88 172.21.34.44 172.21.34.178 172.21.34.20 "

# online
# ips="172.21.34.192 172.21.34.159 172.21.34.126 172.21.34.82 " 

# ips="172.21.39.1 172.21.39.2 172.21.39.3 172.21.39.4 172.21.34.192 172.21.34.159 172.21.34.126 172.21.34.82  172.21.34.88 172.21.34.44 172.21.34.178 172.21.34.20 "
# ips="172.21.34.192 172.21.34.159 172.21.34.126 172.21.34.82 "

# ips="172.21.39.1"
stop="stop"
./stopPsm.sh $ips

source /home/work/py3/bin/activate;
python clearZK.py $ips


if [ "$1" != "$stop" ];then
    ./startPsm.sh $ips
fi
